/*
 * MIT License
 *
 * Copyright (c) 2020 wen.gu <454727014@qq.com>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

/***************************************************************************
 * Name: avp_codec_id.h
 *
 * Purpose: define codec if  for av player
 *
 * Developer:
 *   wen.gu , 2022-01-19
 *
 * TODO:
 *
 ***************************************************************************/

/******************************************************************************
 **    INCLUDES
 ******************************************************************************/
#ifndef __AVP_CODEC_ID_H__
#define __AVP_CODEC_ID_H__

#include "avp_type.h"
#include "avp_macro.h"
/******************************************************************************
 **    MACROS
 ******************************************************************************/

/******************************************************************************
 **    TYPE DEFINITIONS
 ******************************************************************************/
G_C_HEADER_START

typedef enum _avp_codec_id
{
    AVP_CODEC_ID_UNKNOWN = 0, /**< Placeholder value when media format is N/A */

    /** video codec type */
    AVP_CODEC_ID_AVC                 = GFCC('H', '2', '6', '4'),  /**< H.264/AVC */


    /** audio codec type */
    AVP_CODEC_ID_AAC                 = GFCC('m', 'p', '4', 'a'), /**< Any variant of AAC encoded data */
    AVP_CODEC_ID_Vorbis              = GFCC('v', 'r', 'b', 's'), /** vorbis audio */
    AVP_CODEC_ID_MP3                 = GFCC('m', 'p', '3', 'a'), /** mp3 audio format */

}avp_codec_id_t;
/******************************************************************************
 **    CLASSES/FUNCTIONS DEFINITIONS
 ******************************************************************************/



G_C_HEADER_END

#endif /** !__AVP_CODEC_ID_H__ */

